<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <style>
        body {
            display: flex;
        }

        ul,
        li {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .container {
            display: flex;
            width: 100px;
            height: 100px;
            background: #333;
            border-radius: 10px;
        }

        .container li {
            height: 30px;
            width: 30px;
            background: #fff;
            border-radius: 50px;
        }

        .tmp-style {}



        /* .box {
            display: flex;
            flex-wrap: wrap;
        }

        .row {
            flex-basis: 100%;
            display: flex;
        }

        .row:nth-child(2) {
            justify-content: center;
        }

        .row:nth-child(3) {
            justify-content: space-between;
        } */
        .box{
            display: flex;
            flex-wrap: wrap;
        }
    </style>


</head>

<body>
    <ul class="container tmp-style box">
        <li class="item">1</li>
        <li class="item">2</li>

        <li class="item">3</li>
        <li class="item">4</li>

        <li class="item">5</li>
        <li class="item">6</li>
        <li class="item">7</li>
        <li class="item">8</li>

        <li class="item">8</li>

    </ul>
<!-- 
    <ul class="container tmp-style box">
        <div class="row">
            <li class="item"></li>
            <li class="item"></li>
            <li class="item"></li>
        </div>
        <div class="row">
            <li class="item"></li>
        </div>
        <div class="row">
            <li class="item"></li>
            <li class="item"></li>
        </div>
    </ul> -->


</body>
</body>

</html>